github.com/andybalholm/brotli/matchfinder.ZFast.history (field)
18 uses
github.com/andybalholm/brotli/matchfinder (current package)
zfast.go#L26: history []byte
zfast.go#L35: z.history = z.history[:0]
zfast.go#L44: if int(z.current) >= int(math.MaxInt32)-2*z.MaxDistance-len(z.history) {
zfast.go#L45: minOffset := z.current + int32(len(z.history)) - int32(z.MaxDistance)
zfast.go#L58: if len(z.history)+len(src) > cap(z.history) {
zfast.go#L60: if cap(z.history) == 0 {
zfast.go#L62: z.history = make([]byte, 0, historySize)
zfast.go#L65: offset := len(z.history) - z.MaxDistance
zfast.go#L66: copy(z.history[:z.MaxDistance], z.history[offset:])
zfast.go#L68: z.history = z.history[:z.MaxDistance]
zfast.go#L71: s := int32(len(z.history))
zfast.go#L72: z.history = append(z.history, src...)
zfast.go#L80: src = z.history
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |